import 'package:flutter/material.dart';

class HYVipShopScreen extends StatefulWidget {
  static const String routeName = "/vip_shop";

  const HYVipShopScreen({Key? key}) : super(key: key);

  @override
  State<HYVipShopScreen> createState() => _HYVipShopScreenState();
}

class _HYVipShopScreenState extends State<HYVipShopScreen> {
  @override
  void initState() {
    super.initState();
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("会员购"),
      ),
      // body: Center(
      //   child: TextButton(
      //     style: ButtonStyle(
      //         backgroundColor: MaterialStateProperty.all(Colors.lightBlue)),
      //     onPressed: () {
      //       requestPermissions();
      //     },
      //     child: Text("检查权限"),
      //   ),
      // ),
    );
  }

// void requestPermissions() async {
//   Map<Permission, PermissionStatus> statuses = await [
//     Permission.phone,
//     Permission.storage,
//   ].request();
//   print('电话权限：${statuses[Permission.phone]}');
//   print('存储权限：${statuses[Permission.storage]}');
// }
}
